<?php
/**
 * Created by PhpStorm.
 * User: superxing-cto
 * Date: 17/5/15
 * Time: 11:11
 */

namespace App\Models;


class OpenDeviceLog extends ApplicationModel
{
    protected $guarded = [];

    public static function clear($type)
    {
        OpenDeviceLog::where('type', $type)->delete();
    }

}